import http from '../request.js'

// 测试登录接口
// export const Login = user => http.post('/user/login', user)

export default {
  Login: user => http.post('/user/login', user),
  uploadFile: (data) => http.upload('/api/ali/uploadFile', {
    formData: data
  }), //上传图片

}
